package com.qf.controller;

import com.qf.pojo.Account;
import com.qf.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Description: 公用常量
 * @Data: 2022/9/6 21:09
 * @Pacakge: com.qf.controller
 * @ClassName: AccountController
 * @Author: fan
 */
@RestController
@RequestMapping("account")
public class AccountController {
    @Autowired
    private AccountService accountService;
    @RequestMapping("findAccount")
    public List<Account> findAccount(){
        return accountService.findAccount();
    }
}


